FROM python:3.9.12-slim-buster
RUN mkdir /app
WORKDIR /app
RUN apt-get update
RUN apt-get install -y build-essential && apt-get clean
ADD . /app/
RUN pip install  --no-cache-dir -r requirement.txt
EXPOSE 8000
CMD [ "python", "manage.py" ,"runserver" ,"--insecure" ]
